<template>
  <div class="leftItem">
    当前位置：游戏虫首页 > {{childMsg}}
  </div>
</template>

<script>
export default {
  name: 'rootPath',
  props: [ 'childMsg' ],
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  mounted: function () {
    this.$nextTick(function () {
      // Code that will run only after the
      // entire view has been rendered
    })
  }
}
</script>
<style scoped>
  .leftItem{
    text-align: left;
    margin: 36px 0 30px;
  }
</style>
